<?php

class ItemRequestItem extends Eloquent {
	protected $table="item_request_items";
	protected $primaryKey = "pk";
	protected $fillable = [];

	public function item()
	{
		return $this->belongsTo('Item', 'item_fk', 'pk');
	}

	public function request()
	{
		return $this->belongsTo('ItemRequest', 'request_fk', 'pk');
	}

	public function requestStatus()
	{
		return $this->belongsTo('ItemRequestItemStatus', 'request_item_status_fk', 'pk');
	}
}

?>